package com.fortune.dao;

import com.fortune.dto.in.dEmptyStorage.DEmptyStorageDto;
import com.fortune.vo.dEmptyStorage.AllDetail;
import com.fortune.vo.dEmptyStorage.DEmptyDetail;
import com.fortune.vo.dEmptyStorage.DEmptyStorageList;
import com.fortune.vo.dStoreIn.StorageDetails;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/6/20 0020.
 */
public interface DEmptyStorageDao {

    List<DEmptyStorageList> findClientOrderList(@Param("dto") DEmptyStorageDto dEmptyStorageDto,@Param("did")String did);

    List<DEmptyStorageList> findClientOrderLists(@Param("dto") DEmptyStorageDto dEmptyStorageDto,@Param("did")String did);

    List<AllDetail> findDetail1(@Param("id")String id,@Param("did")String did);

    List<AllDetail> findDetail2(@Param("id")String id,@Param("did")String did);

    List<DEmptyStorageList> findReturnDepositList(@Param("dto") DEmptyStorageDto dEmptyStorageDto,@Param("did")String did);

    int findClientOrderCount(@Param("dto") DEmptyStorageDto dEmptyStorageDto,@Param("did")String did);

    int findReturnDepositCount(@Param("dto") DEmptyStorageDto dEmptyStorageDto,@Param("did")String did);

    List<DEmptyDetail> findListOrderDetail(@Param("id")String id,@Param("did")String did);

    List<DEmptyDetail> findListDespsitDetail(@Param("id")String id,@Param("did")String did);

    int updateOrderType(@Param("did")String did,@Param("userId")String userId,@Param("id")String id);

    int updateDespsitType(@Param("did")String did,@Param("userId")String userId,@Param("id")String id);

}
